<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>商品管理</title>
    <hdjs/>
    <bootstrap/>
    <style type="text/css">
        .plus_minus{
            width: 20px;
        }
    </style>
</head>
<body>
<div class="wrap">
    <table class="table table-bordered">
        <thead>
        <tr>
            
            <td>商铺id</td>
            <td>商铺名称</td>
            <td>营业时间</td>
            <td>商铺菜式</td>
            <td>商铺优惠</td>
            <td>起送价</td>
            <td>配送价</td>
            <td>平均配送时间</td>
            <td>操作</td>
        </tr>
        </thead>
        <tbody>
            <foreach from="$allstore" value="$v">
                <tr cid="{$v.stid}">
                    
                    <td>{$v.stid}</td>
                    <td>{$v.stname}</td>
                    
                    <td>{$v.businessstart}-{$v.businessend}</td>
                    <td>{$v.kind}</td>
                    <td>{$v.favorable}</td>
                    <td>{$v.risedelivery}元</td>
                    <td>{$v.delivery}元</td>
                    <td>{$v.deliverytime}分钟</td>
                    <td width="222">
                        <a href="{|U:'Menu/Index',array('stid'=>$v['stid'])}" class="btn btn-default btn-xs">菜单列表</a>
                        <a href="{|U:'Menu/add',array('stid'=>$v['stid'])}" class="btn btn-default btn-xs">添加菜单</a>
                        <a href="{|U:'Store/edit_cate',array('stid'=>$v['stid'])}" class="btn btn-default btn-xs">修改</a>
                        <a href="javascript:;" class="btn btn-default btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'Store/del',array('stid'=>$v['stid'])}'">删除</a>
                    </td>
                </tr>
           </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>


